package com.hzw.saas.api.email.query;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zzl
 * @since 09/08/2021
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("更新邮件记录")
public class EmailLogUpdateQuery extends EmailLogAddQuery{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "邮件记录PID", required = true)
    @NotBlank(message = "pid不可为空")
    private String pid;

}
